package com.yangmf.auto_message_handle.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "EventVO", description = "事件视图对象")
public class EventVO implements Serializable {

    @Schema(description = "事件id")
    private Long id;

    @Schema(description = "事件名称")
    private String eventName;

    @Schema(description = "事件开始时间")

    private LocalDateTime startTime;

    @Schema(description = "事件uuid")
    private String eventUuid;

    @Schema(description = "事件类型")
    private Integer eventType;

    @Schema(description = "事件学科")
    private String eventSubject;

    /**
     * 0未读 1已读
     */
    @Schema(description = "已读或者未读0未读1已读·")
    private Integer isRead=0;
}